package com.ruoyi.wx.domain;


import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * ${tableComment}表 t_goods
 *
 * @author ruoyi
 * @date 2020-05-01
 */
@EqualsAndHashCode()
@ToString
@Data
@Accessors(chain = true)
@TableName("t_goods")
public class TGoods {
    private static final long serialVersionUID = 1L;

    @TableId
    private String goodsId;
    @TableField(condition = SqlCondition.LIKE)
    private String goodsName;
    private BigDecimal goodsPrice;
    private BigDecimal goodsPurPrice;
    private String goodsSmallLogo;
    private Date gddTime;
    private Date updTime;
    private String  goodsIntroduce;
    private Integer goodsSales;

    @TableField(exist = false)
    private int pageSize;
    @TableField(exist = false)
    private int pageNum;

}
